package cn.com.egova.cxfserver.impl;

import cn.com.egova.cxfserver.IWeatherService;

import javax.jws.WebMethod;
import javax.jws.WebService;

/**
 * Created by yuanchao on 2020/6/12.
 */
public class WeatherService implements IWeatherService {

    public String info(String city) {
        System.out.println("服务端info方法执行了!");
        if ("北京".equals(city)) {
            return "雾霾";
        }
        return "晴天";
    }
}
